﻿using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application;

    /// <summary>
    /// 颜色基础输入参数
    /// </summary>
    public class car_color2BaseInput
    {
        /// <summary>
        /// 颜色
        /// </summary>
        public virtual string? title { get; set; }
        
        /// <summary>
        /// 点击次数
        /// </summary>
        public virtual int? clickCount { get; set; }
        
    }

    /// <summary>
    /// 颜色分页查询输入参数
    /// </summary>
    public class car_color2Input : BasePageInput
    {
        /// <summary>
        /// 颜色
        /// </summary>
        public string? title { get; set; }
        
        /// <summary>
        /// 点击次数
        /// </summary>
        public int? clickCount { get; set; }
        
    }

    /// <summary>
    /// 颜色增加输入参数
    /// </summary>
    public class Addcar_color2Input : car_color2BaseInput
    {
    }

    /// <summary>
    /// 颜色删除输入参数
    /// </summary>
    public class Deletecar_color2Input : BaseIdInput
    {
    }

    /// <summary>
    /// 颜色更新输入参数
    /// </summary>
    public class Updatecar_color2Input : car_color2BaseInput
    {
        /// <summary>
        /// Id
        /// </summary>
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }
        
    }

    /// <summary>
    /// 颜色主键查询输入参数
    /// </summary>
    public class QueryByIdcar_color2Input : Deletecar_color2Input
    {

    }
